
package com.jf.cloud.multishop.mapper;

import com.jf.cloud.multishop.model.ShopExtension;
import com.jf.cloud.multishop.vo.ShopExtensionVO;
import org.apache.ibatis.annotations.Param;

/**
 * 店铺扩张信息
 *
 * @author zz
 * @date 2021-02-05 15:36:12
 */
public interface ShopExtensionMapper {

    /**
     * 保存店铺扩张信息
     * @param shopExtension 店铺扩张信息
     */
    void save(@Param("shopExtension") ShopExtension shopExtension);

    /**
     * 更新店铺扩张信息
     * @param shopExtension 店铺扩张信息
     */
    void update(@Param("shopExtension") ShopExtensionVO shopExtension);

    /**
     * 根据店铺id获取商家用户信息
     *
     * @param shopId 店铺id
     * @return 商家扩展信息
     */
    ShopExtensionVO getByShopId(@Param("shopId") Long shopId);
}
